package cn.tedu.egnotice01.mapper;

import cn.tedu.egnotice01.pojo.datatransfer.NoticeListQuery;
import cn.tedu.egnotice01.pojo.datatransfer.NoticeUpdateParam;
import cn.tedu.egnotice01.pojo.entity.Notice;
import cn.tedu.egnotice01.pojo.valueobject.NoticeDetailInfo;
import cn.tedu.egnotice01.pojo.valueobject.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    int insertNotice(Notice notice);
    List<NoticeListVO> queryNotice(NoticeListQuery noticeListQuery);
    NoticeDetailInfo queryDetailNotice(Long id);
    int deleteNotice(Long id);
    int updateNotice(Notice notice);
}
